package com.motong.gongdan.vo.system.device.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@ApiModel("设备OEE数据")
@Data
@Accessors(chain = true)
public class StartupRateDashboardVo {

    @ApiModelProperty("设备id")
    private Long deviceId;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("绿灯时长")
    private BigDecimal greenTime = BigDecimal.ZERO;

    @ApiModelProperty("绿灯时长比例")
    private BigDecimal greenTimeRate = BigDecimal.ZERO;

    @ApiModelProperty("黄灯时长")
    private BigDecimal yellowTime = BigDecimal.ZERO;

    @ApiModelProperty("黄灯时长比例")
    private BigDecimal yellowTimeRate = BigDecimal.ZERO;

    @ApiModelProperty("红灯时长")
    private BigDecimal redTime = BigDecimal.ZERO;

    @ApiModelProperty("红灯时长比例")
    private BigDecimal redTimeRate = BigDecimal.ZERO;

    @ApiModelProperty("关灯时长")
    private BigDecimal closeTime = BigDecimal.ZERO;

    @ApiModelProperty("关灯时长比例")
    private BigDecimal closeTimeRate = BigDecimal.ZERO;


    @ApiModelProperty("当前状态时长")
    private BigDecimal currentTime = BigDecimal.ZERO;

    @ApiModelProperty("当前状态")
    private Integer currentStatus;

    @ApiModelProperty("时间")
    private String time;
}
